package sd.rmi.simple.server;

import java.io.Serializable;

import sd.rmi.simple.interfaces.IPerson;

public class Person implements Serializable, IPerson {
	
	/**
	 * @author v
	 */
	private static final long serialVersionUID = -7792944107357817080L;
	
	private String name;
	private int age;
	public Person() {
		super();
		this.name = "lebby";
		this.age = 99;
	}
	
	public Person(String name, int age) {
		this.name = name;
		this.age = age;
	}
	
	@Override
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	@Override
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
	
	
}
